package com.ruoyi.system.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.domain.SpendDetail;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;

/**
 * @Author chenyouliang
 * @create 2024/11/14 9:42
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysSpendVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 参数主键 */
    @Excel(name = "参数主键", cellType = ColumnType.NUMERIC)
    private Integer id;

    /** 账单编号 */
    @Excel(name = "账单编号")
    private String billId;

    /** 实际金额 */
    @Excel(name = "实际金额")
    @ApiModelProperty("实际金额")
    private Double actualAmount;

    /** 花销时间 */
    @Excel(name = "花销时间")
    private LocalDate spendingTime;

    /** 花销金额 */
    @Excel(name = "花销金额")
    private Double spendingPrice;

    /** 用户Id */
    @Excel(name = "用户Id")
    private Long userId;

    /** 花销详情 */
    private List<SpendDetail> spendDetails;
}
